home *** CD-ROM | disk | FTP | other *** search
- Path: Inter.NL.net!usenet
- From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
- Newsgroups: comp.lang.c
- Subject: Re: What is a right hand pointing arrow?
- Date: Sun, 18 Feb 1996 13:17:12 GMT
- Organization: Inter.NL.net, The Internet Provider in The Netherlands.
- Message-ID: <4g794c$em8@altrade.nijmegen.inter.nl.net>
- References: <824587015snz@metsys.demon.co.uk>
- Reply-To: Auke.Reitsma@net.HCC.nl
- NNTP-Posting-Host: rt99-1.rotterdam.nl.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- John Standen <John@metsys.demon.co.uk> wrote:
-
- > I have a right arrow in my files, these cause the program
- > to terminate as a feof......what is the right arrow? can
- > I cull it without affecting the feof() search?
- > Does it have a decimal value? is that value different from
- > feof or EOF?
-
- That right arrow is a end of file marker for text files. Its value is
- 0x27. Open your file in binary mode, that character will then be handled
- as a normal (control character.
-
-
- Greetings from Delft, The Netherlands.
-
- Auke Reitsma
-
-